package com.ipay.listener;

import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent;
import org.springframework.context.ApplicationListener;

/**
 * @author ：前世小和尚（xiaopingzhang8@creditease.cn）
 * @Description ：
 * @ClassName ：ApplicationEnvironmentListener
 * @Company ：普信恒业科技发展（北京）有限公司
 * @date ：2018/4/7 9:26
 */
public class ApplicationEnvironmentListener implements ApplicationListener<ApplicationEnvironmentPreparedEvent> {
   private static final Logger log = LoggerFactory.getLogger(ApplicationEnvironmentListener.class);
    @Override
    public void onApplicationEvent(ApplicationEnvironmentPreparedEvent applicationEnvironmentPreparedEvent) {
        log.info("==load ApplicationEnvironmentPreparedEvent 环境配置==");
    }
}
